#ifndef TEAMCSKYBOX_H
#define TEAMCSKYBOX_H



/*

    skybox.h
    A game class to draw a skybox around any scene.
    Joshua Clayton, 2010

*/
#ifdef _WIN32
#define WIN32_LEAN_AND_MEAN
#define WIN32_EXTRA_LEAN
#include <windows.h>
#endif
#include <GL/gl.h>
#include "texture.h"
#include "camera.h"

class Skybox
{
private:
    int size;
    CTexture texture[6];
    void DrawCube(CTexture texture[6], GLfloat size);

public:
    Skybox();
    ~Skybox();

    void LoadTexture(GLushort side, char *filename);
    void LoadTextures(char *filename[6]);
    void UnloadTexture(GLushort side);
    void UnloadTextures();
    void Draw(CCamera &c);
};

#endif /* TEAMCSKYBOX_H */
